//
//  Group.cpp
//  IA2
//
//  Created by Etienne Lecouturier on 25/01/13.
//  Copyright (c) 2013 Etienne Lecouturier. All rights reserved.
//

#include "../include/Group.h"


Group::Group(unsigned int x,unsigned int y, int number)
{
    data.x=x;
    data.y=y;
    data.number=number;
 }

void Group::UpdateNumber(int _number)
{
    data.number=_number;
}

void Group::UpdateData(unsigned int x, unsigned int y,int _number)
{
    data.number=_number;
    data.x=x;
    data.y=y;
}

group_data Group::GetData()
{
    return data;
}
